package com.hc.vo;

import com.baomidou.mybatisplus.annotation.TableField;
import io.swagger.annotations.ApiModelProperty;
import lombok.AllArgsConstructor;
import lombok.Builder;
import lombok.Data;
import lombok.NoArgsConstructor;

import java.io.Serializable;

/**
 * 打赏，默认翻译和原创文件开启打赏
 */
@Data
@Builder
@AllArgsConstructor
@NoArgsConstructor
public class DaShangVO implements Serializable {
    private static final long serialVersionUID = -8787669623240047181L;
    /**
     * 打赏人编号
     */
    @TableField(value = "user_id")
    @ApiModelProperty(value = "打赏人编号")
    private Integer userId;

    /**
     * 被打赏博客编号
     */
    @TableField(value = "blog_id")
    @ApiModelProperty(value = "被打赏博客编号")
    private Integer blogId;

    /**
     * 打赏的币值
     */
    @TableField(value = "hcoin")
    @ApiModelProperty(value = "打赏的币值")
    private Integer hcoin;
}
